<template>
  <header>
    <router-link class="header-head" to="/" tag="div">
          <span class="iconfont">&#xe618;</span>
    </router-link>
    <div class="header-search">
          <span>城市选择</span>
    </div>
  </header>
</template>

<script>
export default {
  name: 'CityHeader'
}
</script>

<style lang="stylus" scoped="scoped">
  @import '~@/assets/css/variable.styl'
  header
    width 100%
    background $bgcolor
    color white
    height 1rem
    line-height 1rem
    position fixed
    top 0
    left 0
    .header-head
      float left
      span
        font-size 0.5rem
    .header-search
      text-align center
      span
        font-size 0.4rem
</style>
